<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!doctype html>
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>添加任务</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<jsp:include page="/WEB-INF/views/common.jsp"></jsp:include>
	<script type="text/javascript" src="<%=path%>/resources/script/proms/projectindex/projectindex_add_acceptanceAttas.js"></script>

  </head>
  
  <body>
    <div class="easyui-layout" fit="true">
   		<div region="center" border="false">
			<form id="form" method="post">
				<table class="edit-table">
					<tr>
						<th>所属指标：</th>
						<td>
							<input id="id" name="id" value="${projectIndex.id }" type="hidden" />
							<label>${projectIndex.name }</label>
						</td>
					</tr>
					<tr>
						<th>验收材料材料：</th>
						<td colspan="3"><div id="acceptance_fileupload"></div></td>
					</tr>
				</table>
				<div>关联佐证材料<input type="hidden" name="selectProcessIds" id="selectProcessIds" value="" /></div>
			</form>
			<table id="process2acceptance" style="height: 350px; width: 100%; border: 1px solid #bed3df;">
				<tr style="border:1px solid #bed3df;">
					<td width="45%" style="border:1px solid #bed3df;"><table id="process_list"></table></td>
					<td width="10%" style="border:1px solid #bed3df;"><div style="text-align: center; vertical-align: middle;">
						<input type="button" value="添加"  onclick="add();" /><br/>
						<input type="button" value="全选"  onclick="addAll();" /><br/>
						<input type="button" value="删除"  onclick="del();"/><br/>
						<input type="button" value="全删"  onclick="delAll();"/>
					</div></td>
					<td width="45%" style="border:1px solid #bed3df;"><table id="select_list"></table></td>
				</tr>
			</table>
   		</div>
   		<div region="south" border="false" style="text-align: right; height: 35px; line-height: 8px; padding:5px 5px 0 0;">
   			<a id="btnSave" class="easyui-linkbutton" icon="icon-ok" href="javascript:void(0);">确定</a>
   			<a id="btnCancel" class="easyui-linkbutton" icon="icon-cancel" href="javascript:void(0);">取消</a>
   		</div>
   	</div>
  </body>
</html>
